package com.xunk.scene.mapper;

import com.xunk.scene.domain.SceneEdge;
import org.apache.ibatis.annotations.Param;

/**
 * @ProjectName: HIM
 * @Package: com.xunk.scene.mapper
 * @ClassName: EdgeSceneMapper
 * @Author: luanzhiwei
 * @Description: 边缘场景表接口映射
 * @Date: 2021/6/4 14:20
 * @Version: 1.0
 */
public interface SceneEdgeMapper {
    /**
     * 添加边缘场景
     *
     * @param edgeScene
     * @return
     */
    int insert(SceneEdge edgeScene);

    /**
     * 删除边缘场景
     *
     * @param id
     * @return
     */
    int logicallyDelete(@Param("id") Long id);

    /**
     * 根据id查询
     *
     * @param sceneId 场景id
     * @return
     */
    Long selectIdBySceneId(@Param("sceneId") Long sceneId);
}
